package study08;

public class Phone {
    public String call;
    public Phone(String call){
        this.call = call;
    }

    public void show(){
        System.out.println(call);
    }
}

class Newphone extends Phone{
    private String shut_up;
    private String shutdown;

    public Newphone(String call, String shut_up, String shutdown){
        super(call);
        this.shut_up = shut_up;
        this.shutdown = shutdown;
    }

    public void show(){
        super.show();
        System.out.println(shut_up);
        System.out.println(shutdown);
    }
}
